Skip to content

feat: replace XSLT-based build system with oscal-cli#13

Open
david-waltermire wants to merge 1 commit intoOSCAL-Foundation:developfrom
david-waltermire:migrate-to-oscal-cli
Open

feat: replace XSLT-based build system with oscal-cli#13
david-waltermire wants to merge 1 commit intoOSCAL-Foundation:developfrom
david-waltermire:migrate-to-oscal-cli

Conversation

@david-waltermire
Copy link
Copy Markdown

Summary

Test plan

  • Verify oscal-cli schema generation produces correct JSON and XML schemas
  • Validate generated schemas against known-good OSCAL content
  • Confirm Makefile targets work end-to-end (make clean, make artifacts)
  • Verify JSON schemas include all flags for affected assemblies

Replace the metaschema-xslt toolchain and Maven/Saxon infrastructure
with oscal-cli-enhanced for all schema generation and validation tasks.

Build system changes:
- Add oscal-cli auto-install that checks PATH first, downloads from
  Maven Central to build/bin/ if not found
- Replace XSLT-based schema generation with oscal-cli metaschema
  generate-schema for both JSON Schema and XSD output
- Replace schematron composition validation with oscal-cli metaschema
  validate
- Remove XSLT converter generation (oscal-cli provides direct content
  conversion)
- Remove resolved metaschema generation (no longer needed)
- Update archive generation to include schemas and source metaschemas
- Make xmllint optional for environments without it
- Move link checking to end of build pipeline

Dependency removal:
- Remove metaschema-xslt submodule and nested schxslt submodule
- Remove Maven pom.xml, resolve-entities.xsl, and xslt-runner.sh
- Remove Java setup from CI/CD status workflow

Documentation:
- Update build README with oscal-cli prerequisites and usage
- Replace XSLT converter documentation with oscal-cli content
  conversion examples
- Update release README to reflect new archive structure
@david-waltermire david-waltermire changed the base branch from main to develop February 27, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant